package org.ww.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ww.common.utils.PageUtils;
import org.ww.ware.entity.PurchaseEntity;
import org.ww.ware.vo.MergeVo;
import org.ww.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author ww
 * @email ww@qq.com
 * @date 2024-01-05 15:13:15
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByParams(Map<String, Object> params);

    PageUtils queryPageByUnreceivePurchase(Map<String, Object> params);

    void merge(MergeVo mergeVo);

    /**
     * 采购人员领取采购单
     * @param ids
     */
    void received(List<Long> ids);

    /**
     * 采购人员采购完成
     * @param purchaseDoneVo
     */
    void purchaseDone(PurchaseDoneVo purchaseDoneVo);
}

